package com.ruoyi.web.wuliu.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 石油支付对象 petroleum_payment
 * 
 * @author ruoyi
 * @date 2024-01-27
 */
@Data
public class PetroleumPayment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String product;

    /** 金额 */
    @Excel(name = "金额")
    private String mount;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paymentTime;

    /** 1.中石油2中石化 */
    private String type;

    /** 支付流水号 */
    private String paymentSerial;

    private String status;
    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setProduct(String product) 
    {
        this.product = product;
    }

    public String getProduct() 
    {
        return product;
    }
    public void setMount(String mount) 
    {
        this.mount = mount;
    }

    public String getMount() 
    {
        return mount;
    }
    public void setPaymentTime(Date paymentTime) 
    {
        this.paymentTime = paymentTime;
    }

    public Date getPaymentTime() 
    {
        return paymentTime;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setPaymentSerial(String paymentSerial) 
    {
        this.paymentSerial = paymentSerial;
    }

    public String getPaymentSerial() 
    {
        return paymentSerial;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("product", getProduct())
            .append("mount", getMount())
            .append("paymentTime", getPaymentTime())
            .append("type", getType())
            .append("paymentSerial", getPaymentSerial())
            .append("remark", getRemark())
            .toString();
    }
}
